home *** CD-ROM | disk | FTP | other *** search
/ Internet News 2001 May / Internet News 2001-05 - CD-ROM.rar / INCD200105.ISO / pc / Promo / Extasi / EXTASI.exe / 1033 / RCDATA / CABINET / cmcfg32.dll / REGINST / 10000
Text File  |  1999-05-05  |  10KB  |  252 lines

  1. ;===========================================================================
  2. ;
  3. ; All of the customizable sections of this file are in the [Strings] section
  4. ; at the bottom.
  5. ;
  6. ;===========================================================================
  7.  
  8.  
  9. ;=============================================
  10. ; These are global settings for the whole file.
  11. ;=============================================
  12.  
  13. [version]
  14. Signature=$chicago$
  15. AdvancedINF=2.5
  16.  
  17. [CmDial32.Dll]
  18.  
  19. [Intl]
  20. Display=1033
  21.  
  22. ; -------------------------------------------------------------------
  23. ; This is the default install section.  This handles installation of
  24. ; the profile specific files
  25. ; -------------------------------------------------------------------
  26. [DefaultInstall]
  27. SmartReboot=N
  28. CustomDestination=CustInstDestSection
  29. RunPreSetupCommands=RunPreSetupCommandsSection
  30. CopyFiles=Xnstall.CopyFiles, Xnstall.CopyFiles.ICM
  31. AddReg=Xnstall.RenameReg
  32. RegisterOCXs=RegisterOCXSection
  33.  
  34. ; -------------------------------------------------------------------
  35. ; This file section sets up the desktop icon GUID and is thus
  36. ; only needed on legacy systems.
  37. ; -------------------------------------------------------------------
  38. [Xnstall_Legacy]
  39. SmartReboot=N
  40. CustomDestination=CustInstDestSection
  41. AddReg=Xnstall.AddReg.DesktopIcon, Xnstall.AddReg.Icon
  42.  
  43. ; -------------------------------------------------------------------
  44. ; section to install if for a private individual
  45. ; -------------------------------------------------------------------
  46. [Xnstall_Private]
  47. SmartReboot=N
  48. CustomDestination=CustInstDestSection
  49. AddReg=Xnstall.AddReg.Private
  50.  
  51. ; -------------------------------------------------------------------
  52. ; section to install if profile for all users
  53. ; -------------------------------------------------------------------
  54. [Xnstall_AllUser]
  55. SmartReboot=N
  56. AddReg=Xnstall.AddReg.AllUsers
  57. CustomDestination=CustInstDestSection
  58.  
  59. ; -------------------------------------------------------------------
  60. ; Launches the postinstall commands
  61. ; -------------------------------------------------------------------
  62. [PostInstall]
  63. SmartReboot=N
  64. CustomDestination=CustInstDestSection
  65. RunPostSetupCommands=RunPostSetupCommandsSection
  66.  
  67. ; -------------------------------------------------------------------
  68. ; Section used to uninstall Private user profiles
  69. ; -------------------------------------------------------------------
  70. [Remove_Private]
  71. Cleanup=1
  72. SmartReboot=N
  73. BeginPrompt=RemoveBeginPromptSection
  74. EndPrompt=RemoveEndPromptSection
  75. RunPreSetupCommands=RunPreUnInstCommandsSection
  76. CustomDestination=CustUnInstDestSectionPrivate
  77. DelFiles=Remove.DelFiles, Remove.DelFiles.ICM
  78. DelReg=Remove.DelReg.Private
  79. DelDirs=CleanDir
  80. RunPostSetupCommands=RunPostUnInstCommandsSection
  81.  
  82. ; -------------------------------------------------------------------
  83. ; Section used to uninstall All User profiles 
  84. ; (no all users in name for legacy reasons)
  85. ; -------------------------------------------------------------------
  86. [Remove]
  87. Cleanup=1
  88. SmartReboot=N
  89. BeginPrompt=RemoveBeginPromptSection
  90. EndPrompt=RemoveEndPromptSection
  91. RunPreSetupCommands=RunPreUnInstCommandsSection
  92. CustomDestination=CustUninstDestSectionAllUsers
  93. DelFiles=Remove.DelFiles, Remove.DelFiles.ICM
  94. DelReg=Remove.DelReg.AllUser
  95. DelDirs=CleanDir
  96. RunPostSetupCommands=RunPostUnInstCommandsSection
  97.  
  98. ; The following SetupCommandsSections allow you to run commands before or
  99. ; after the profile is installed.  The commands will only be executed once.
  100. ; Similarly the following UnInstCommandsSections will allow you to run
  101. ; commands before or after the profile is uninstalled.  An example command line
  102. ; is:
  103. ; Myprogram.exe /<switches> <options>
  104.  
  105. [RunPreSetupCommandsSection]
  106. ; Commands Here will be run Before Setup Begins to install
  107.  
  108. [RunPostSetupCommandsSection]
  109. ;Commands here will be run After setup finishes
  110.  
  111. [RunPreUnInstCommandsSection]
  112. ;Commands here will be run before Uninstall Begins
  113.  
  114. [RunPostUnInstCommandsSection]
  115. ;Commands here will be run after Uninstall Finishes
  116.  
  117. ; -------------------------------------------------------------------
  118. ; These are the registry entries for installation.
  119. ; -------------------------------------------------------------------
  120. [Xnstall.AddReg.DesktopIcon]
  121. "HKCR", "CLSID\%DesktopGUID%",,,"%ServiceName%"
  122. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%",,,"%ServiceName%"
  123. "HKCR", "CLSID\%DesktopGUID%\ShellFolder","Attributes",1,"00","00","00","00"
  124. ; Please make sure the following three commands are alphabetized by the %Open%, %Delete%,
  125. ; and %Settings% entries defined in the Strings section
  126. ; the Connect Command
  127. "HKCR", "CLSID\%DesktopGUID%\Shell\Open\Command",,,"cmmgr32.exe ""%49000%\%ShortSvcName%.cmp"""
  128. "HKCR", "CLSID\%DesktopGUID%\Shell\Open",,,"%Open%"
  129. ; the Delete Command
  130. "HKCR", "CLSID\%DesktopGUID%\Shell\Delete\Command",,,"cmstp.exe /u ""%49000%\%ShortSvcName%\%ShortSvcName%.inf"""
  131. "HKCR", "CLSID\%DesktopGUID%\Shell\Delete",,,"%Delete%"
  132. ; the Properties Command
  133. "HKCR", "CLSID\%DesktopGUID%\Shell\Settings...\Command",,,"cmmgr32.exe /settings ""%49000%\%ShortSvcName%.cmp"""
  134. "HKCR", "CLSID\%DesktopGUID%\Shell\Settings...",,,"%Settings%"
  135.  
  136. [Xnstall.AddReg.AllUsers]
  137. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", "%49001%"
  138. ;"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallString", "", "cmstp.exe /u ""%49000%\%ShortSvcName%\%ShortSvcName%.inf"""
  139. "HKLM", "%AppAct%\Mappings","%ServiceName%","","%49001%\%ShortSvcName%.cmp"
  140.  
  141. [Xnstall.AddReg.Private]
  142. "HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", "%%UserProfile%%\%PathFromProfileDir%"
  143. ;"HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallString", "", "cmstp.exe /u ""%%UserProfile%%\%PathFromProfileDir%\%ShortSvcName%\%ShortSvcName%.inf"""
  144. "HKCU", "%AppAct%\Mappings","%ServiceName%","","%%UserProfile%%\%PathFromProfileDir%\%ShortSvcName%.cmp"
  145.  
  146. ; -------------------------------------------------------------------
  147. ; These are the registry settings which
  148. ; are deleted during uninstall.
  149. ; -------------------------------------------------------------------
  150. [Remove.DelReg.AllUser]
  151. "HKLM", "%AppAct%\%ServiceName%"
  152. "HKLM", "%AppAct%\Mappings","%ServiceName%"
  153. "HKCU", "%AppAct%\UserInfo\%ServiceName%"
  154. "HKCR", "CLSID\%DesktopGUID%"
  155. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%"
  156. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"
  157.  
  158. [Remove.DelReg.Private]
  159. "HKCU", "%AppAct%\%ServiceName%"
  160. "HKCU", "%AppAct%\Mappings","%ServiceName%"
  161. "HKCU", "%AppAct%\SingleUserInfo\%ServiceName%"
  162. "HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"
  163.  
  164. [CleanDir]
  165. %49001%\%ShortSvcName%
  166.  
  167. ; -------------------------------------------------------------------
  168. ; These are the directory specifications.
  169. ; -------------------------------------------------------------------
  170.  
  171. [CustInstDestSection]
  172. 49000,49001=XConnMgrLDIDSection, 7
  173.  
  174. [CustUninstDestSectionAllUsers]
  175. 49000,49001=XConnMgrLDIDSectionAllUsers, 5
  176.  
  177. [CustUnInstDestSectionPrivate]
  178. 49000,49001=XConnMgrLDIDSectionPrivate, 5
  179.  
  180. [XConnMgrLDIDSection]
  181. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CMMGR32.EXE", "ProfileInstallPath", "%UnexpectedError%", ""
  182.  
  183. [XConnMgrLDIDSectionAllUsers]
  184. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""
  185.  
  186. [XConnMgrLDIDSectionPrivate]
  187. "HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""
  188.  
  189. [DestinationDirs]
  190. Xnstall.CopyFiles=49001, %ShortSvcName%
  191. Xnstall.CopyFiles.ICM=49001
  192. Remove.DelFiles=49001, %ShortSvcName%
  193. Remove.DelFiles.ICM=49001
  194.  
  195. [SourceDisksNames]
  196. 55=, , 0
  197.  
  198. ; -------------------------------------------------------------------
  199. ; These are the Prompt Sections
  200. ; -------------------------------------------------------------------
  201.  
  202. [RemoveBeginPromptSection]
  203. Prompt=%BeginPrompt%
  204. ButtonType=YESNO
  205. Title=%UninstallAppTitle%
  206.  
  207. [RemoveEndPromptSection]
  208. Prompt=%EndPrompt%
  209.  
  210.  
  211. [Strings]
  212. ; -------------------------------------------------------------------
  213. ; These are the non localizable strings...
  214. ; -------------------------------------------------------------------
  215. KEY_RENAME = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"
  216. AppAct = "SOFTWARE\Microsoft\Connection Manager"
  217.  
  218. ; -------------------------------------------------------------------
  219. ; These are the localizable strings...
  220. ; Please also make sure to set the LCID in the [Intl] section, Display key to the LCID of
  221. ; the localized language.
  222. ; -------------------------------------------------------------------
  223. UnexpectedError = "An unexpected error occurred.  Please reboot and try the installation again."
  224. PathFromProfileDir = "Application Data\Microsoft\Network\Connections\Cm"
  225.  
  226. ; When you localize these commands (they are the commands for the Desktop Icon on legacy
  227. ; platforms) you must make sure to re-alphabetize the Registry add calls above.  Win95
  228. ; shows the menus in the order they were added and doesn't alphabetize them for you.
  229. Settings = "P&roperties"
  230. Open = "C&onnect"
  231. Delete = "&Delete"
  232.  
  233. ; -------------------------------------------------------------------
  234. ; The following strings are set by the Connection Manager Administration Kit
  235. ; Do not change any of the following strings
  236. ; -------------------------------------------------------------------
  237. ServiceName=""
  238. ShortSvcName=""
  239. DesktopGUID=""
  240. UninstallAppTitle=""
  241. DesktopIcon=""
  242. PhonebookPath=""
  243. BeginPrompt=""
  244. EndPrompt=""
  245.  
  246. [CMAK Status]
  247. InfVersion=4
  248.  
  249. [Extra Files]
  250.  
  251. [Merge Profiles]
  252.